package com.qdy.service;

import com.qdy.entity.dynamic.Dynamic;
import com.qdy.entity.dynamic.DynamicComment;
import com.qdy.entity.dynamic.DynamicLike;
import com.qdy.dto.DynamicDto;

import java.util.List;

/**
 * Created by qudingyi on 2017/4/22.
 */
public interface DynamicService {
    public DynamicDto getDynamicInfo(Long dynamicId);
    public void saveDynamic(Dynamic dynamic);
    public void saveLike(DynamicLike dynamicLike);
    public void saveComment(DynamicComment comment);

    public List<Dynamic> findByAll();
}
